package com.qfedu.yuxiaoer.entity;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class Bill implements Serializable {
    @ApiModelProperty(value = "账单id")
    private Integer id;

    @ApiModelProperty(value = "费用类型id")
    private Integer costTypeId;

    @ApiModelProperty(value = "收支账单类型;账单类型：0->收入；1->支出")
    private Integer receivePayType;

    @ApiModelProperty(value = "所属账单类型;所属账单类型：0->独立账单；1->周期账单")
    private Integer typeAffiliation;

    @ApiModelProperty(value = "应收款日")
    private Date paymentTime;

    @ApiModelProperty(value = "金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "账单开始时间")
    private Date startTime;

    @ApiModelProperty(value = "账单结束时间")
    private Date endTime;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "合同id")
    private Integer contractId;

    @ApiModelProperty(value = "账单状态;账单状态：0->待收款；1->待审批；2->已完成；3->作废")
    private Integer status;

    @ApiModelProperty(value = "附件照片")
    private String pic;

    @ApiModelProperty(value = "检索账单类型id")
    private Integer billSearchTypeId;

    @ApiModelProperty(value = "账单归属;账单归属：0->租客；1->业主；2->房源；3->其他")
    private Integer belong;

    @ApiModelProperty(value = "房源城市")
    private String city;

    @ApiModelProperty(value = "收款方式id")
    private Integer billPayTypeId;

    @ApiModelProperty(value = "部门")
    private String department;

    @ApiModelProperty(value = "签约人")
    private String signatory;

    @ApiModelProperty(value = "出房管家")
    private String leaseButler;

    @ApiModelProperty(value = "审批状态")
    private Integer approvalStatus;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCostTypeId() {
        return costTypeId;
    }

    public void setCostTypeId(Integer costTypeId) {
        this.costTypeId = costTypeId;
    }

    public Integer getReceivePayType() {
        return receivePayType;
    }

    public void setReceivePayType(Integer receivePayType) {
        this.receivePayType = receivePayType;
    }

    public Integer getTypeAffiliation() {
        return typeAffiliation;
    }

    public void setTypeAffiliation(Integer typeAffiliation) {
        this.typeAffiliation = typeAffiliation;
    }

    public Date getPaymentTime() {
        return paymentTime;
    }

    public void setPaymentTime(Date paymentTime) {
        this.paymentTime = paymentTime;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Integer getContractId() {
        return contractId;
    }

    public void setContractId(Integer contractId) {
        this.contractId = contractId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public Integer getBillSearchTypeId() {
        return billSearchTypeId;
    }

    public void setBillSearchTypeId(Integer billSearchTypeId) {
        this.billSearchTypeId = billSearchTypeId;
    }

    public Integer getBelong() {
        return belong;
    }

    public void setBelong(Integer belong) {
        this.belong = belong;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public Integer getBillPayTypeId() {
        return billPayTypeId;
    }

    public void setBillPayTypeId(Integer billPayTypeId) {
        this.billPayTypeId = billPayTypeId;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getSignatory() {
        return signatory;
    }

    public void setSignatory(String signatory) {
        this.signatory = signatory;
    }

    public String getLeaseButler() {
        return leaseButler;
    }

    public void setLeaseButler(String leaseButler) {
        this.leaseButler = leaseButler;
    }

    public Integer getApprovalStatus() {
        return approvalStatus;
    }

    public void setApprovalStatus(Integer approvalStatus) {
        this.approvalStatus = approvalStatus;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", costTypeId=").append(costTypeId);
        sb.append(", receivePayType=").append(receivePayType);
        sb.append(", typeAffiliation=").append(typeAffiliation);
        sb.append(", paymentTime=").append(paymentTime);
        sb.append(", amount=").append(amount);
        sb.append(", startTime=").append(startTime);
        sb.append(", endTime=").append(endTime);
        sb.append(", remarks=").append(remarks);
        sb.append(", contractId=").append(contractId);
        sb.append(", status=").append(status);
        sb.append(", pic=").append(pic);
        sb.append(", billSearchTypeId=").append(billSearchTypeId);
        sb.append(", belong=").append(belong);
        sb.append(", city=").append(city);
        sb.append(", billPayTypeId=").append(billPayTypeId);
        sb.append(", department=").append(department);
        sb.append(", signatory=").append(signatory);
        sb.append(", leaseButler=").append(leaseButler);
        sb.append(", approvalStatus=").append(approvalStatus);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}